package com.jml.security.validate;

import org.springframework.web.context.request.ServletWebRequest;

/**
 * 校验码处理器，封装不同校验码的处理逻辑
 */
public interface ValidateCodeProcessor {

	String SESSION_KEY_PREFIX = "SESSION_KEY_FOR_CODE_";

	void create(ServletWebRequest request) throws Exception;

	void validate(ServletWebRequest servletWebRequest);
}
